home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr44 / xlib06p1.zip / XVBITMAP.H < prev    next >
C/C++ Source or Header  |  1994-12-20  |  2KB  |  70 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XVBITMAP - header file
  4. ;
  5. ;
  6. ;
  7. ; ****** XLIB - Mode X graphics library                ****************
  8. ; ******                                               ****************
  9. ; ****** Written By Themie Gouthas                     ****************
  10. ;
  11. ; egg@dstos3.dsto.gov.au
  12. ; teg@bart.dsto.gov.au
  13. ;
  14. ;  Terminology & notes:
  15. ;         VRAM ==   Video RAM
  16. ;         SRAM ==   System RAM
  17. ;         X coordinates are in pixels unless explicitly stated
  18. ;
  19. ;-----------------------------------------------------------------------*/
  20.  
  21. #ifndef _XVBITMAP_H_
  22. #define _XVBITMAP_H_
  23.  
  24.  
  25. /* FUNCTIONS =========================================================== */
  26.  
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32.  
  33.  
  34. void cdecl x_put_masked_vbm(  /* Copy a planar bitmap from SRAM masking */
  35.   int X,          /* only non zero pixels to VRAM           */
  36.   int Y,
  37.         WORD ScrnOffs,
  38.   BYTE far * VBitmap);
  39.  
  40. int cdecl x_put_masked_vbm_clipx(/* Copy a planar bitmap from SRAM masking */
  41.   int X,          /* only non zero pixels to VRAM. Clip X     */
  42.   int Y,
  43.   WORD ScrnOffs,
  44.   BYTE far * VBitmap);
  45.  
  46. int cdecl x_put_masked_vbm_clipy(/* Copy a planar bitmap from SRAM masking */
  47.   int X,          /* only non zero pixels to VRAM. Clip Y    */
  48.   int Y,
  49.   WORD ScrnOffs,
  50.   BYTE far * VBitmap);
  51.  
  52. int cdecl x_put_masked_vbm_clipxy(/* Copy a planar bitmap from SRAM masking */
  53.   int X,          /* only non zero pixels to VRAM. Clip X & Y  */
  54.   int Y,
  55.   WORD ScrnOffs,
  56.   BYTE far * VBitmap);
  57.  
  58. char far * cdecl x_make_vbm(
  59.   char far *lbm,
  60.   WORD *VramStart);
  61.  
  62. #ifdef __cplusplus
  63. }
  64. #endif
  65.  
  66.  
  67. #endif
  68.  
  69.  
  70.